package vn.bus.controllers;

import javax.ws.rs.GET;
import javax.ws.rs.Path;

import vn.bus.service.RouteService;

@Path("/json/route")
public class RouteController {

	@GET
	public String getAllRoutes()
	{
		RouteService routesService = new RouteService();
		return routesService.getAllRoutes();
	}
}
